<%@ Page Language="C#" MasterPageFile="~/MainMaster.master" AutoEventWireup="true" CodeFile="RateDentist.aspx.cs" Inherits="Dentist_RateDentist" Title="Dentist Details" %>

<%@ Register Src="../includes/showRate.ascx" TagName="showRate" TagPrefix="uc4" %>
<%@ Register Src="../includes/DntRating.ascx" TagName="DtnRating" TagPrefix="uc3" %>
<%@ MasterType VirtualPath="~/MainMaster.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainTable" runat="Server" Visible="true">
    <div style="width: 94%; padding: 3%">
        <div style="background-color: #f4f4f4; width: 94%; padding: 3%">
            <table cellpadding="0" cellspacing="0" border="0" style="width: 100%; text-align: justify; line-height: 20px">

                <tr>

                    <td align="center">

                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                                <td align="center" style="width: 516px;">
                                    <!-- contents -->
                                    <table width="100%" border="0">
                                        <tr>
                                            <td align="center" colspan="2"></td>
                                        </tr>
                                        <tr>
                                            <td align="center" colspan="2">
                                                <asp:Label ID="lblMsg" runat="server"></asp:Label></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr valign="top">
                                <td colspan="2" align="left">
                                    <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                        <tr>
                                            <td>
                                                <asp:MultiView runat="server" ID="MutliView1">
                                                    <asp:View runat="server" ID="View1">
                                                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                                            <tr>
                                                                <td colspan="2" align="center">
                                                                    <asp:Label ID="Label2" runat="server" CssClass="stHead" Text="Patient Rating" Font-Underline="True"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2">&nbsp;</td>
                                                            </tr>
                                                            <tr>
                                                                <td style="width: 400px;">
                                                                    <asp:Label ID="lblName" runat="server" Font-Size="Large" ForeColor="Blue"></asp:Label></td>
                                                                <td align="right" valign="bottom" style="height: 38px">
                                                                    <asp:LinkButton runat="server" ID="linkViewPostMessage" Text="View Post Message" OnClick="linkViewPostMessage_Click"></asp:LinkButton></td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2"></td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2" style="height: 32px">
                                                                    <asp:Label ID="lblTitle" runat="server" Height="24px" Width="93px" Font-Size="Large"></asp:Label></td>

                                                            </tr>
                                                            <tr>
                                                                <td colspan="2">
                                                                    <asp:Label ID="lblAddress" runat="server"></asp:Label></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="height: 25px"><b>Overall Rating :</b></td>
                                                                <td style="width: 70%;" align="center">
                                                                    <asp:Label ID="overallRate" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                                                                    <!--<uc4:showRate ID="overallRatec" runat="server" />-->
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2">
                                                                    <hr />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>&nbsp;</td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2"><b style="color: blue; font-size: large">Patient Review<br />
                                                                </b>
                                                                    <br />
                                                                    <span class="darkblue-text" style="color: #0014a6">Helpful Hint:<br />
                                                                    </span><span>Simply drag your mouse over the Red Checks to the right of each Category.  As you drag from left to right, the checks will turn red, click on your desired rating (1-5 checks) and your opinion is saved and incorporated into a doctors score.
The existing red checks are the Dentist's current ratings, so you can view what others have rated this doctor in the past.
                                                    <br />
                                                                        <br />
                                                                    </span></td>
                                                            </tr>

                                                            <tr>
                                                                <td style="width: 30%; height: 25px;"><b><a href="<%=Session["strHttp"]%>definitions.aspx#5" target="_blank">Office Staff</a></b></td>
                                                                <td style="width: 70%;" align="center">
                                                                    <uc3:DtnRating ID="Rate_Staff" runat="server" imageName="plus" RatingType="Off_Staff" totalScore="5.0"></uc3:DtnRating>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="width: 30%; height: 25px;"><b><a href="<%=Session["strHttp"]%>definitions.aspx#18" target="_blank">Office Setting</a></b></td>
                                                                <td style="width: 70%;" align="center">
                                                                    <uc3:DtnRating ID="Rate_Setting" runat="server" imageName="plus" RatingType="Off_Setting" totalScore="5.0"></uc3:DtnRating>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="width: 30%; height: 25px;"><b><a href="<%=Session["strHttp"]%>definitions.aspx#6" target="_blank">Wait Time</a></b></td>
                                                                <td align="center">
                                                                    <uc3:DtnRating ID="Rate_Wait" runat="server" imageName="plus" RatingType="Wait_Time" totalScore="5.0"></uc3:DtnRating>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="width: 30%; height: 25px;"><b><a href="<%=Session["strHttp"]%>definitions.aspx#19" target="_blank">Dental &nbsp;Knowledge</a></b></td>
                                                                <td align="center">
                                                                    <uc3:DtnRating ID="Rate_CKnw" runat="server" imageName="plus" RatingType="Dnt_Knw" totalScore="5.0"></uc3:DtnRating>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="width: 30%; height: 25px;"><b><a href="<%=Session["strHttp"]%>definitions.aspx#4" target="_blank">Patient Treatment</a></b></td>
                                                                <td align="center">
                                                                    <uc3:DtnRating ID="Rate_BedMnr" runat="server" imageName="plus" RatingType="Pat_Trt" totalScore="5.0"></uc3:DtnRating>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="width: 30%; height: 25px;"><b><a href="<%=Session["strHttp"]%>definitions.aspx#20" target="_blank">Patient Confidence</a></b></td>
                                                                <td align="center">
                                                                    <uc3:DtnRating ID="Rate_Conf" runat="server" imageName="plus" RatingType="Pat_Conf" totalScore="5.0"></uc3:DtnRating>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="width: 30%; height: 25px;"><b><a href="<%=Session["strHttp"]%>definitions.aspx#21" target="_blank">Patient Satisfaction</a></b></td>
                                                                <td align="center">
                                                                    <uc3:DtnRating ID="Rate_Satisfy" runat="server" imageName="plus" RatingType="Pat_Satisfy" totalScore="10.0"></uc3:DtnRating>
                                                                </td>
                                                            </tr>

                                                            <tr>
                                                                <td align="center" colspan="2">
                                                                    <br />
                                                                    <input id="btnSubmit" type="button" value="Submit" onclick="location.href='RateComplete.aspx?dr=<%=lblName.Text%>    ';" /><br />
                                                                    <br />
                                                                    <asp:Button CssClass="buttonclass" ID="btnBack" runat="server" OnClick="btnBack_Click" Text="Back To Results" />

                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:View>
                                                   <%-- <asp:View runat="server" ID="View2">
                                                        <%if (Request.QueryString["id"] != null)
                                                          { %>
                                                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                                            <tr>
                                                                <td align="left" colspan="2" style="height: 15px"><b>You must login first to rate ! ! .</b>
                                                                    <asp:LinkButton runat="server" ID="linkLogin" Text="Login Here" OnClick="linkLogin_Click"></asp:LinkButton>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <%} %>
                                                    </asp:View>--%>
                                                </asp:MultiView>
                                            </td>
                                        </tr>

                                    </table>
                                </td>
                            </tr>

                            <tr>
                                <td align="left" style="width: 516px; height: 8px;">
                                    <img src="../images/spacer.gif" alt="" width="8" height="8" /></td>
                            </tr>

                        </table>


                    </td>

                </tr>


            </table>
        </div>
    </div>
</asp:Content>


<asp:Content ID="iScriptContent" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
